#include <PluginCommon.hpp>
Public Member Functions | |
| virtual | ~IDPMEventHandler () |
| virtual IDPMResult | AddEventHandler (IDPlugin *Plugin,...)=0 |
| virtual IDPMResult | AddEventHandler (IDPObject *Object,...)=0 |
| virtual IDPMResult | RemoveEventHandler (IDPlugin *Plugin,...)=0 |
| virtual IDPMResult | RemoveEventHandler (IDPObject *Object,...)=0 |
| virtual int | RegisterCustomEvent (const char *EventName)=0 |
|
|
|
|
||||||||||||
|
Adds an event handler for the plugin/object. This function creates a new event handler for the plugin or object for the specified event(s). The function uses variable arguments so that you may specify as many events in one call as you wish.
|
|
||||||||||||
|
Adds an event handler for the plugin/object. This function creates a new event handler for the plugin or object for the specified event(s). The function uses variable arguments so that you may specify as many events in one call as you wish.
|
|
|
Creates a new event type in the system. This function can be used to create a custom event type that lasts until the editor is shut down. The first plugin to make this call will create a new event type with the specified event name, and receive an ID for that event. Any other plugin that calls this function with the same name, will get the same ID. This allows a cusotm event to be created that all plugins can be aware of. The returned ID is only valid for the session, and may be different next time the application is run. Therefore it should not be saved.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
1.3-rc3